home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / inet / internet-drafts / draft-houttuin-mailservers-02.txt < prev    next >
Text File  |  1993-09-28  |  54KB  |  1,476 lines

  1.  
  2. INTERNET-DRAFT                                          Jeroen Houttuin
  3. Mail Applicability Design Team                         RARE Secretariat
  4. rev. 4.0                                                     Sept. 1993
  5.                                     
  6.                                     
  7.                  Header Behaviour of Mail Based Servers
  8.                                 (H-bombs)
  9.  
  10.  
  11. Abstract
  12.    
  13.    This document defines recommendations to be implemented in mail based
  14.    servers   in   the  Internet  and  GO-MHS  e-mail  communities.   The
  15.    requirements  only  affect the basic behaviour of  servers,  i.e.  it
  16.    mainly  deals with how header fields are handled. Although  there  is
  17.    also  a  clear  need  for recommendations in the field  of  end  user
  18.    requirements, such as command syntaxes for archive servers, automatic
  19.    distribution list subscription, etc., such issues are considered more
  20.    suitable to be dealt with in a separate document.
  21.    
  22.    It  is  highly desirable that other e-mail networks connected to  the
  23.    Internet also implement these recommendations.
  24.  
  25. Discussion group
  26.    
  27.    This  document  has  been presented and discussed in  several  groups
  28.    since  late  1992: the RARE Working Group on Mail and Messaging  (WG-
  29.    MSG),  The GO-MHS managers group, the IETF X400ops Working Group  and
  30.    the IFIP Mail Management Group. It is now being finalised by the IETF
  31.    solicited  "Mail Applicability Statement" design team.  Depending  on
  32.    the nature of your comments, please send them to one of the following
  33.    addresses:
  34.          
  35.          The main discussion group:       wg-msg@rare.nl
  36.          The design team:                 mail-as@infoods.unu.edu
  37.          The author:                      houttuin@rare.nl
  38.  
  39. Status of this Memo
  40.    
  41.    This  document  is  an Internet Draft. Internet  Drafts  are  working
  42.    documents  of the Internet Engineering Task Force (IETF), its  Areas,
  43.    and  its  Working Groups. Note that other groups may also  distribute
  44.    working documents as Internet Drafts.
  45.    
  46.    Internet  Drafts  are  draft documents valid for  a  maximum  of  six
  47.    months.  Internet Drafts may be updated, replaced,  or  obsoleted  by
  48.    other  documents at any time.  It is not appropriate to use  Internet
  49.    Drafts as reference material or to cite them other than as a "working
  50.    draft" or "work in progress."
  51.    
  52.    Please  check  the  I-D abstract listing contained in  each  Internet
  53.    Draft  directory  to learn the current status of this  or  any  other
  54.    Internet Draft.
  55.    
  56.    Distribution of this memo is unlimited.
  57.  
  58.  
  59. Houttuin            Expires    March 1994                       [Page 1]
  60.  
  61. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  62.  
  63.  
  64.  
  65.  
  66. Contents                                [approximate page numbers......]
  67.  
  68.    1. Introduction                                                   1
  69.    2. Approach                                                       2
  70.    3. Protocols                                                      3
  71.    4. How to use this document                                       4
  72.    5. Definitions                                                    4
  73.         5.1. Mail Based Server                                      4
  74.         5.2. Dedicated and non-dedicated MBSs                       5
  75.         5.3. MBS administrator                                      5
  76.         5.4. Input- and output messages                             5
  77.         5.5. MBS Submit Permission                                  6
  78.         5.6. Message originator (necessary?)                        6
  79.    6. Mail based server types                                        6
  80.         6.1. Repliers                                               6
  81.              6.1.1. Echo server                                     7
  82.              6.1.2. Mailer demon                                    7
  83.              6.1.3. Command server                                  7
  84.              6.1.4. Auto-replier                                    8
  85.         6.2. Forwarders                                             8
  86.              6.2.1. Distribution List                               8
  87.              6.2.2. Redirector                                      8
  88.              6.2.2. Auto-forwarder                                  9
  89.    7. Rules                                                          9
  90.         7.1. Attribute/header restrictions (AR)                     9
  91.         7.2. Attribute/header values (AV)                          12
  92.         7.3. Attribute/header conservation (AC)                    14
  93.         7.4. Addresses (AD)                                        15
  94.         7.5. Body (B)                                              16
  95.         7.6. Exceptions (E)                                        17
  96.         7.7. Logging (L)                                           18
  97.         7.8. Implementation options (I)                            18
  98.    8. Summary table                                                 19
  99.    8. Reference implementations                                     21
  100.    9. Further work                                                  21
  101.    10. Acknowledgements                                             21
  102.    11. Bibliography                                                 22
  103.    12. Abbreviations                                                23
  104.    13. Author's Address                                             23
  105.  
  106.  
  107. 1. Introduction
  108.  
  109.    
  110.    Electronic mail systems are increasingly being used as a basis for so
  111.    called  Mail Based Servers (MBSs), such as echo servers, distribution
  112.    lists, file distribution servers, etc. MBSs are used for a number  of
  113.    purposes:
  114.      
  115.  
  116.  
  117.  
  118. Houttuin            Expires    March 1994                       [Page 2]
  119.  
  120. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  121.  
  122.  
  123.      - Enhancing  the  Message Handling Environment.  Examples  of  such
  124.        usage are distribution lists (DLs), for group communication,  and
  125.        e-mail servers, for file and information retrieval.
  126.      
  127.      - Monitoring  the  status of the MHS. Examples of  this  usage  are
  128.        echo  servers  and forced (non-)delivery messages (E.g.  the  so-
  129.        called nosuchuser test).
  130.    
  131.    Since MBSs deal with automatically receiving, forwarding and replying
  132.    to  messages,  which may themselves have been generated by  automated
  133.    processes, strong requirements are needed on the one hand to minimise
  134.    human  effort to manage such servers, and on the other hand  to  make
  135.    the  behaviour  of mail based servers deterministic enough  to  build
  136.    reliable tools upon them.
  137.    
  138.    A  classic  example  of  what can go wrong is  when  a  mailing  list
  139.    contains  an  invalid  address. The remote mailer  generates  a  non-
  140.    delivery  message  and  sends it to the originator  of  the  original
  141.    message,  which, under some circumstances, could be the list  itself,
  142.    which then distributes the non-delivery message to the list, and thus
  143.    also   to   the   erroneous  address,  etc.  etc.  Following   strict
  144.    recommendations on how mailing lists should deal with message  header
  145.    fields can avoid such looping-endangered situations.
  146.    
  147.    A  more  complicated example of the need for strong requirements  for
  148.    MBSs  is  the  following: suppose a distributed tool will  check  the
  149.    connectivity  of mailers by sending a message to an echo-server.  The
  150.    connectivity  tool  could request the echo to be  sent  to  a  remote
  151.    component  of the tool instead of to itself. If for some  reason  the
  152.    address of that other component cannot be routed to, an automatically
  153.    generated non-delivery message could be sent back to the echo server,
  154.    which results in an echo loop.
  155.    
  156.    As  far  as appropriate, the recommendations defined in this document
  157.    will  be aligned with comparable rules that either have already  been
  158.    used for a long time (X.400(84) Status Reports; distribution lists in
  159.    the Internet; Internet host requirements), or are already defined  in
  160.    other documents (X.400(88) DLs; Internet host requirements).
  161.  
  162.  
  163. 2. Approach
  164.  
  165.    
  166.    If all MBSs would agree to implement a common set of behaviour rules,
  167.    this  set could be fairly small. In practice however, there are  some
  168.    reasons why such a 'minimum approach' will not work:
  169.      
  170.      - The  most obvious reason is that one cannot realistically  expect
  171.        all  networks  and  software developers to implement  one  common
  172.        strict  set  of  rules. In different mail communities,  different
  173.        MBS  conventions have already been used for a long time. Some  of
  174.  
  175.  
  176.  
  177. Houttuin            Expires    March 1994                       [Page 3]
  178.  
  179. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  180.  
  181.  
  182.        these  conventions can be unacceptable for other  communities  to
  183.        implement.
  184.      
  185.      - MBSs  can  be  built  upon  different underlying  protocols.  For
  186.        instance,  it is almost impossible to have a small set  of  rules
  187.        that  will prevent problems between any combination of MBSs, e.g.
  188.        between  a near RFC 822 MBS running over NJE and a P1 based  MBS.
  189.        More  problems can be expected because header fields are  crucial
  190.        for  the properly functioning of MBSs, and protocol gateways will
  191.        not always map header fields bijectively.
  192.      
  193.      - Not  all  MBSs are controlled by software developers  or  network
  194.        operators.  Any  user can write a simple program that  will  have
  195.        the functionality of an MBS.
  196.    
  197.    Because  the  'minimum  approach'  is  not  feasible,  this  document
  198.    recommends the 'unilateral safety approach'. The idea is that any MBS
  199.    that implements the complete set of recommendations will be safe from
  200.    harm, regardless of what other 'dumb' MBSs it is interacting with.
  201.    
  202.    This results in quite a large number of recommendations, of which not
  203.    every single one is strictly necessary to prevent problems, but  none
  204.    of them will 'hurt' the functioning of an MBS. As for the programming
  205.    overhead caused by this document, there is at least one example of an
  206.    echo server (Echoput) that implements all recommendations proposed in
  207.    this document; the size of the (perl) code fits on two pages.
  208.    
  209.    In  addition  to  the  rules that should protect  against  loops  and
  210.    explosions,  there  are also some recommendations  reflecting  common
  211.    sense. For instance, if a user sends a message flagged 'urgent' to  a
  212.    mail  based file server, he would not only expect his request message
  213.    to be handled with extra priority, but also the reply message.
  214.  
  215.  
  216. 3. Protocols
  217.  
  218.    
  219.    For  many  MBSs,  it is not known beforehand in which protocol  world
  220.    they  are  located.  In order to come to a consistent  MBS  behaviour
  221.    regardless  of this location, this document describes recommendations
  222.    for  both  RFC  mail and X.400 MBSs. Note that a one hundred  percent
  223.    transparency  cannot be reached, because there exists  no  one-to-one
  224.    mapping  between all RFC mail and X.400 service elements. Apart  from
  225.    that,  applying RFC 1327 mapping to a service element from X.400  may
  226.    clash  with  a host requirement for the RFC mail service element.  In
  227.    this   case,   there   will   have  to  be   functionally   different
  228.    recommendations depending in which protocol world the MBS is located.
  229.    
  230.    More  concrete; depending on the implementation of the MBS, different
  231.    recommendations  must  be  used. E.g. a  P1  MBS  cannot  follow  all
  232.    recommendations for RFC 822 based MBSs and vice versa.
  233.  
  234.  
  235.  
  236. Houttuin            Expires    March 1994                       [Page 4]
  237.  
  238. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  239.  
  240.  
  241.  
  242. 4. How to use this document
  243.  
  244.    
  245.    For   the   reader's  convenience,  the  rules  for   different   MBS
  246.    implementations   are   explicitly   stated   in   the    appropriate
  247.    terminologies. The rules are labelled as follows:
  248.      
  249.      #RFC#     Applies to RFC 822 on top of RFC 821 (SMTP) based MBSs
  250.      #821#     Applies to RFC 821 based MBSs
  251.      #822#     Applies to RFC 822 based MBSs
  252.      #1327#     Rules  visible  in  RFC 822  message  due  to  RFC  1327
  253.        mappings
  254.      #400#     Applies to X.400 (both 84 and 88) based MBSs
  255.      #84#      Applies to X.400(84) based MBSs
  256.      #88#      Applies to X.400(88) based MBSs
  257.      #P1#      Applies to P1 based MBSs
  258.      #P2#      Applies to P2 based MBSs
  259.      #P3#      Applies to P3 based MBSs
  260.    
  261.    Terms  such  as 'P1 based' and 'RFC 822 on top of RFC 821'  may  need
  262.    some  further  explanation. P1 based MBSs operate  as  MTA  functions
  263.    (e.g. they process envelope information only), whereas P2 and RFC 822
  264.    MBSs  assume  UA functionality (e.g. they process mail  headers).  P3
  265.    based  MBSs use the MTS, and may additionally interpret the  contents
  266.    of messages (if this message is P2, we're back at the definition of a
  267.    P2  MBS).  The  distinction between P1 and P3 based  MBSs  is  mostly
  268.    conceptual. In the Internet, this distinction cannot even be made.
  269.    
  270.    Note that some the RFC 822 recommendations listed here deal with non-
  271.    standard headers as described in RFC 1327. This is needed to  provide
  272.    protection across gateways.
  273.    
  274.    Implementors  can use the summary table in chapter 8, and  check  all
  275.    '+'  entries  for  the type of MBS and protocol suite  they  want  to
  276.    implement.
  277.  
  278.  
  279. 5. Definitions
  280.  
  281.  
  282.  
  283. 5.1. Mail Based Server
  284.    
  285.    An MBS is a process that automatically generates one or more messages
  286.    (the  output messages) as a result of receiving a message (the  input
  287.    message).  An MBS can be modelled and/or implemented in  one  of  the
  288.    following ways:
  289.      
  290.      - #RFC#:  As  a  process sitting directly on top of SMTP.  This  is
  291.        called an 821 MBS. If, in addition, the MBS is RFC 822 based,  it
  292.        is called an 822 MBS.
  293.  
  294.  
  295. Houttuin            Expires    March 1994                       [Page 5]
  296.  
  297. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  298.  
  299.  
  300.      
  301.      - #400#:  within  the MTS, in which case it can  be  considered  an
  302.        enhancement of the X.400 message dispatcher. This is called a  P1
  303.        MBS.
  304.      
  305.      - #400#:  as  an  MTS  service  user,  in  which  case  it  can  be
  306.        considered  an  automated User Agent (UA). Per default,  this  is
  307.        called  a  P3  MBS. If, in addition, the MBS is P2 based,  it  is
  308.        called  a  P2  MBS.  P7  based MBSs are not  considered  in  this
  309.        document.
  310.    
  311.    The number of output messages and its contents depend on the kind  of
  312.    server and on the contents of the input message.
  313.    
  314.    Our definition rules out a number of mail based applications:
  315.      
  316.      - A  proces  that is in someway triggered by an input message,  but
  317.        does  not  necessarily  generate  an  output  message.  Think  of
  318.        process control applications.
  319.      
  320.      - Applications  that  need more than one input message  to  trigger
  321.        the   generation  of  an  output  message.  For  such  work  flow
  322.        management   types   of  applications,  it  is   already   nearly
  323.        impossible  to  define  globally applicable  rules  for  how  the
  324.        recipient  of the output message(s) should be determined.  It  is
  325.        however  possible to treat an MBS as a special subclass  of  such
  326.        systems,  namely  where the number of input messages  is  exactly
  327.        one. Hopefully this document can be used as a starting point  for
  328.        later studies on the behaviour of more complex systems.
  329.      
  330.      - Applications  that  do  not  completely  automatically   generate
  331.        output  messages.  This  rules out mail based  applications  that
  332.        need (human) intervention, such as moderated distribution lists.
  333.  
  334.  
  335. 5.2. Dedicated and non-dedicated MBSs
  336.    
  337.    A  dedicated MBS is an MBS that is meant to be used as an  MBS  only.
  338.    Examples  of non-dedicated MBSs are temporarily auto-forwarding  user
  339.    agents  (UAs),  and UAs that automatically send back  vacation  notes
  340.    (auto-repliers).  Although  software  developers  are  encouraged  to
  341.    implement such features as if it concerned a dedicated MBS, there are
  342.    some  differences  between the two types. For  instance,  it  is  not
  343.    realistic  to  assume a separate MBS administrator  (see  below)  for
  344.    every  stand-alone  UA. Also, non-dedicated MBSs often  have  a  more
  345.    limited life time, which results in some extra recommendations.
  346.  
  347.  
  348. 5.3. MBS administrator
  349.    
  350.    For  every  dedicated MBS, there exists an MBS administrator  who  is
  351.    responsible  for managing the MBS. This person, or group of  persons,
  352.  
  353.  
  354. Houttuin            Expires    March 1994                       [Page 6]
  355.  
  356. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  357.  
  358.  
  359.    must  be informed about possible malbehaviour of the server, such  as
  360.    loops, unreachable addresses on mailing lists and rejected messages.
  361.    
  362.    Other possible roles related to the management of an MBS are:
  363.      
  364.      Owner           Has  the  responsibility for the existence  of  the
  365.        MBS.
  366.      Operator       Operates the hard- and software.
  367.      Moderator      Moderates a mailing list.
  368.      Other          Many other roles can be thought of.
  369.    
  370.    Note that in practice, most of these roles will be played by one  and
  371.    the same person. The only role that is important in this document  is
  372.    that of the MBS adminstrator.
  373.  
  374.  
  375. 5.4. Input- and output messages
  376.    
  377.    An  input message is a message that triggers the generation of one or
  378.    more output messages by an MBS.
  379.    
  380.    An output message is a message that is being generated by an MBS as a
  381.    result of receiving an input message.
  382.    
  383.    If  an  MBS  encounters an error (as defined in  the  recommendations
  384.    below),  one  exception  output message is  generated  instead  of  a
  385.    regular   output   message.  This  message  is  sent   to   the   MBS
  386.    administrator.
  387.    
  388.    If  a  non-dedicated  MBS  does not have an  MBS  administrator,  the
  389.    exception  output message may either be sent to the  originator  (see
  390.    below)  of the input message. If by sending the exception message  to
  391.    the  originator  of  the  input message, the MBS  would  encounter  a
  392.    situation  that  would normally lead to an exception situation  (e.g.
  393.    the  originator  of  the input message is known to  be  an  automatic
  394.    replier), it does not generate an output message at all.
  395.  
  396.  
  397. 5.5. MBS Submit Permission
  398.    
  399.    Associated  with an MBS is a number of addresses that are allowed  to
  400.    use  the MBS (I.e. have the MBS send output messages). Implementation
  401.    of  MBS  Submit  Permission is considered a local  matter.  The  main
  402.    implementation options are:
  403.      
  404.      - Implicit: Only those addresses explicitly listed are not  allowed
  405.        to send messages to the MBS.
  406.      
  407.      - Explicit:  Only those addresses explicitly listed are allowed  to
  408.        send messages to the MBS.
  409.  
  410.  
  411.  
  412.  
  413. Houttuin            Expires    March 1994                       [Page 7]
  414.  
  415. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  416.  
  417.  
  418. 5.6. Message originator (necessary?)
  419.    
  420.    #RFC# The originator of an input message is defined as the MAIL FROM:
  421.    address.  This  is the definition of 'originator' and  MUST  be  used
  422.    whenever  possible.  For RFC 822 based MBSs that,  for  some  reason,
  423.    cannot access envelope attributes, the originator of an input message
  424.    is  defined  as  the  RFC 822 Return-Path: . If this  header  is  not
  425.    available  either, the originator of an input message is  defined  as
  426.    the  RFC 822 Sender: , and in the absence of that header, the RFC 822
  427.    From: .
  428.    
  429.    #400#  The originator of an input message is defined as the P1 or  P3
  430.    originator.  For P2 based MBSs that cannot access P3 attributes,  the
  431.    originator of an input message is defined as the P2.originator, or if
  432.    this attribute is not present, the P2.authorizingUsers.
  433.  
  434.  
  435. 6. Mail based server types
  436.  
  437.    
  438.    This chapter defines the different types of MBSs. Two main types  are
  439.    identified: repliers and forwarders.
  440.  
  441.  
  442. 6.1. Repliers
  443.    
  444.    Intuitively  speaking, a replier is an MBS that will send  an  output
  445.    message  to  the  originator of the input  message.  There  are  also
  446.    exceptions to this rule, such as replying to a Reply-To: field.  More
  447.    formally  speaking, a replier is characterised by the fact  that  the
  448.    recipient  of the output message is uniquely defined in (the  heading
  449.    of)  the  input  message.  The different types  of  repliers  can  be
  450.    classified by the number and content of the output message.
  451.    
  452.    Most existing repliers operate at UA level.
  453.  
  454.  
  455. 6.1.1. Echo server
  456.    
  457.    An  echo server is a dedicated replier that will generate exactly one
  458.    output message, containing at least the input message.
  459.  
  460.  
  461. 6.1.2. Mailer demon
  462.    
  463.    This  document  does  not consider the behaviour  of  X.400  delivery
  464.    reports  and  notifications, which is assumed to be well  defined  in
  465.    X.400  already.   RFC 822 mailers and RFC 1327 gateways  however  can
  466.    generate a message explaining the (NON-)Delivery of an input message,
  467.    a so-called Delivery Message (DM). In this case the mailer/gateway is
  468.    acting as an MBS.
  469.    
  470.  
  471.  
  472. Houttuin            Expires    March 1994                       [Page 8]
  473.  
  474. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  475.  
  476.  
  477.    For  mailer demons, the behaviour is well defined in other documents,
  478.    such  as  RFC  821  and  RFC  1123.  The  MBS  administrator  is  the
  479.    administrator of the mailer/gateway.
  480.    
  481.    Ideally a gateway should behave as a normal mailer when a message  is
  482.    not  deliverable. In practice however, the following may  occur.  The
  483.    gateway  accepts from the Internet mail side a message  in  which  it
  484.    recognises an RFC 822 encoded X.400 address. The gateway performs the
  485.    gatewaying  and  then  discovers  that  the  X.400  message  is   not
  486.    deliverable.  The  gateway has two options in this  case.  Either  it
  487.    creates  an  X.400 non-delivery report and gateways it  back  to  the
  488.    Internet  mail world, or it immediately generates an RFC non-delivery
  489.    message.
  490.    
  491.    Internet  mailer  demons conceptually operate at MTA  or  MTS  level,
  492.    although,  as  usual with Internet mailers, they  may  interpret  and
  493.    under  circumstances even add UA level information.  This  especially
  494.    holds for mail protocol gateways.
  495.  
  496.  
  497. 6.1.3. Command server
  498.    
  499.    The  contents  of  an output message generated by  a  command  server
  500.    depend  on commands that were included in the input message. Concrete
  501.    examples  are  file  servers, e-mail archie servers,  DL-registration
  502.    servers and address conversion servers.
  503.    
  504.    Although  it is beyond the scope of this document to define  detailed
  505.    requirements  for  the command syntax used by command  servers,  some
  506.    general recommendations concerning header fields are described here.
  507.    
  508.    Note that an echo server can be regarded as a special type of command
  509.    server, namely one that ignores all commands.
  510.  
  511.  
  512. 6.1.4. Auto-replier
  513.    
  514.    Some  UAs  have  an  auto-reply feature that will temporarily  and/or
  515.    conditionally turn the UA into an MBS. Thus an auto-replier is a non-
  516.    dedicated replier. The content of the output message is often a  note
  517.    such  as 'I am on holidays.'  An auto-replier has a certain lifetime,
  518.    which  is defined as the time span between switching the auto-replier
  519.    on and back off again.
  520.  
  521.  
  522. 6.2. Forwarders
  523.    
  524.    A forwarder is an MBS that will send its output messages to a list of
  525.    recipients. These recipients are independent of (the heading of)  the
  526.    input message.
  527.  
  528.  
  529.  
  530.  
  531. Houttuin            Expires    March 1994                       [Page 9]
  532.  
  533. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  534.  
  535.  
  536. 6.2.1. Distribution List
  537.    
  538.    Upon  receiving an input message, a DL will generate output  messages
  539.    to a list of DL members, which is managed by the DL administrator.
  540.    
  541.    At the moment many vendor-specific implementations of DLs exist. Some
  542.    of  these are nothing more than local multi-recipient aliases, others
  543.    use  local  directories for DL expansion. This document  defines  the
  544.    requirements for DLs as well as implementation options.
  545.    
  546.    Although   a  moderateddistribution  list  does  not  fit  into   our
  547.    definition of an MBS, a moderated DL ican be modelled as a normal  DL
  548.    with  an  extra filtering of the input messages. In case  of  message
  549.    rejection  by  the moderator, it is considered good manners  for  the
  550.    moderator   to   follow,   in  a  rejection   message,   the   header
  551.    recommendations  that this document describes for mailer  demons.  If
  552.    the  message  is  accepted  for distribution,  the  moderator  should
  553.    ideally  transparently  pass  through  all  MBS  control  information
  554.    (headers  and  envelope)  to the actual DL.  The  moderation  process
  555.    itself (editing of the contents) is considered a local matter.
  556.  
  557.  
  558. 6.2.2. Redirector
  559.    
  560.    Some  MTAs  have  a redirection feature that will temporarily  and/or
  561.    conditionally  turn  the MTA into an MBS. Thus a  redirector  can  be
  562.    considered  a  non-dedicated  forwarder.  Upon  receiving  an   input
  563.    message, an auto-forwarder will submit an output message to a locally
  564.    defined (list of) address(es), which is managed.....
  565.    
  566.    Although  a  redirector often has a certain lifetime, like  an  auto-
  567.    replier,  this  has  no implications for the requirements  for  auto-
  568.    forwarders.
  569.  
  570.  
  571. 6.2.2. Auto-forwarder
  572.    
  573.    Some  UAs  have an auto-forward feature that will temporarily  and/or
  574.    conditionally turn the UA into an MBS. Thus an auto-forwarder can  be
  575.    considered  a  non-dedicated  forwarder.  Upon  receiving  an   input
  576.    message, an auto-forwarder will submit an output message to a locally
  577.    defined (list of) address(es), which is managed by the owner  of  the
  578.    UA.
  579.    
  580.    Although an auto-forwarder often has a certain lifetime, like an auto-
  581.    replier,  this  has  no implications for the requirements  for  auto-
  582.    forwarders.
  583.    
  584.    The  main  difference  with a redirector is  that  an  auto-forwarder
  585.    conceptually operates at UA level. In almost all cases redirection is
  586.    to be preferred over auto-forwarding.
  587.  
  588.  
  589.  
  590. Houttuin            Expires    March 1994                      [Page 10]
  591.  
  592. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  593.  
  594.  
  595.  
  596. 7. Rules
  597.  
  598.    
  599.    Depending on the implementation, MBSs follow the requirements defined
  600.    in RFC 822, RFC 821, RFC 1123, X.411, X.420 and X.435 as a minimum.
  601.    
  602.    This  chapter describes additional requirements in terms of RFC  821,
  603.    RFC 822, P1, P3, and P2 for the MBS types distinguished above.
  604.  
  605.  
  606. 7.1. Attribute/header restrictions (AR)
  607.  
  608.  AR1 Avoiding replies to replies
  609.    
  610.    DISCUSSION: If an MBS would request some form of reply or report  for
  611.    an output message, other MBSs might as a result automatically send  a
  612.    message, report or (non)delivery message back to the MBS, which  must
  613.    be  avoided at all cost, or to the MBS administrator, which is highly
  614.    undesirable. This leads to rules AR1.1-AR1.5.
  615.    
  616.    ORIGIN: This memo
  617.    
  618.    AFFECTED: Repliers
  619.  
  620.  AR1.1
  621.    
  622.    RULE: The following attribute is not used in the output message:
  623.      
  624.      #P2# Recipient.replyRequest
  625.    
  626.    I.e. the value of this argument defaults to FALSE
  627.  
  628.  AR1.2
  629.    
  630.    RULE: The following attribute is not used in the output message:
  631.      
  632.      #1327#         Reply-By:
  633.      #84#P2#        replyBy
  634.      #88#P2#        reply-time
  635.  
  636.  AR1.3
  637.    
  638.    RULE: The following attribute is not used in the output message:
  639.      
  640.      #84#P2#        expiryDate
  641.      #88#P2#        Expiry Time
  642.      #1327#         Expiry-Date:
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649. Houttuin            Expires    March 1994                      [Page 11]
  650.  
  651. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  652.  
  653.  
  654.  AR1.4
  655.    
  656.    RULE: The following attribute is not used in the output message:
  657.      
  658.      #88#P1#P3#     Proof-of-delivery-request
  659.    
  660.    I.e.  the  value  of this argument defaults to proof-of-delivery-not-
  661.    requested.
  662.  
  663.  AR1.5
  664.    
  665.    RULE: The following attribute is not used in the output message:
  666.      
  667.      #84#P2#        replyToUsers
  668.      #88#P2#        reply-recipients
  669.      #822#          Reply-To:
  670.  
  671.  AR2
  672.    
  673.    DISCUSSION: There is no need for a user to automatically forward  his
  674.    incoming  messages  through another MBS, which  would  introduce  one
  675.    superfluous hop. The only case where this might make sense is if  the
  676.    mail  would  be autoforwarded to support old addresses. But  even  in
  677.    this  case,  auto  redirection  is  preferred.  Note  that  non-auto-
  678.    forwarded  messages  can  only  be unambiguously  identified  in  P2,
  679.    Internet  mail  has  no standard headers for this purpose.  RFC  1327
  680.    gateways  map  this  attribute  to  a  new  RFC  822  header   "Auto-
  681.    Forwarded:".  In  the presence of this header,  RFC  based  MBSs  can
  682.    safely assume that the message was indeed auto-forwarded.
  683.    
  684.    ORIGIN: This memo.
  685.    
  686.    AFFECTED: All MBSs except distribution lists.
  687.    
  688.    RULE:  #P2#  An  auto-forwarded message is  not  valid  as  an  input
  689.    message. The result is the generation of an exception output message.
  690.  
  691.  AR3
  692.    
  693.    DISCUSSION:  A  user  of a UA level replier may  request  the  output
  694.    message to be sent to another address.
  695.    
  696.    AFFECTED: UA level repliers, mailer demons.
  697.    
  698.    ORIGIN: Common practice, RFC 821, RFC 822, RFC 1123, X.400.
  699.    
  700.    RULE:  The  output  message is sent to the originator  of  the  input
  701.    message.  If  the input message contains the following field,  a  UA-
  702.    level  replier sends the output message to the address in that  field
  703.    instead.  If  this  field contains more than one address,  an  output
  704.  
  705.  
  706.  
  707.  
  708. Houttuin            Expires    March 1994                      [Page 12]
  709.  
  710. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  711.  
  712.  
  713.    message is sent to at least the first address of this field. (Sending
  714.    to the others is not recommended.)
  715.      
  716.                     #84#P2#     replyToUsers
  717.                     #88#P2#     reply-recipients
  718.                     #822#       Reply-To:
  719.  
  720.  AR4
  721.    
  722.    DISCUSSION:  A  user  who receives mail from an MBS,  wihtout  having
  723.    ordered  this  information himself, has the right  to  know  who  was
  724.    responsible for having messages sent to his mailbox. The semantics of
  725.    both  RFC 822 and X.400 header fields allow to specify that a message
  726.    was  sent from a certain address, but was authorised by someone else.
  727.    This  matches  the  semantics needed here. Another reason  for  using
  728.    header  fields  for carrying this information is that  the  addresses
  729.    will still be readable for the end-user after the message has crossed
  730.    a protocol gateway.
  731.    
  732.    ORIGIN: This document, RFC 822, RFC 1327, X.400.
  733.    
  734.    AFFECTED: command and echo servers.
  735.    
  736.    RULE:  #822#  If the output message is not sent to the originator  of
  737.    the  input  message, its From: field field contains the addresses  of
  738.    the  From: and the Sender: fields of the input message. In this  case
  739.    the  Sender: field of the output message contains the address of  the
  740.    MBS administrator.
  741.    
  742.    RULE: #P2# If the output message is not sent to the P2.originator  of
  743.    the   input  message,  its  P2.authorizingUsers  field  contains  the
  744.    addresses  of  the P2.originator and the P2.authorizingUsers  of  the
  745.    input message.
  746.  
  747.  AR5
  748.    
  749.    RULE:  An exception output message is generated if the input  message
  750.    contains either of the following attributes:
  751.      
  752.                     #822#       In-Reply-To:
  753.                                 References:
  754.                     #P2#        In-Reply-To
  755.                                 crossReferences
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767. Houttuin            Expires    March 1994                      [Page 13]
  768.  
  769. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  770.  
  771.  
  772. 7.2. Attribute/header values (AV)
  773.  
  774.  AV1
  775.    
  776.    RULE:  If the following field is used in the output message, it  does
  777.    not contain the address of the MBS.
  778.      
  779.                     #84#P2#     replyToUsers
  780.                     #88#P2#     reply-recipients
  781.                     #822#       Reply-To:
  782.  
  783.  AV2.1
  784.    
  785.    DISCUSSION:  Repliers  should not send output messages  to  addresses
  786.    which are likely to be repliers themselves, to avoid loops.
  787.    
  788.    RULE:  Repliers  do  not send output messages to addresses  with  the
  789.    following values in the local address designator (S, CN, localpart):
  790.      
  791.      autoanswer
  792.      echo
  793.      listserv
  794.      mailerdaemon
  795.      mirror
  796.      netserv
  797.      server
  798.    
  799.    These  values  must be matched in any combination of upper  case  and
  800.    lower  case. Instead, an exception output message is generated.  This
  801.    list  is  subject to change; an up-to-date version of  this  list  is
  802.    available in [Noreply]
  803.    
  804.    ****  NOTE:  I  agree with John that this is a yuckt  sort  of  rule.
  805.    however,  it  seems to be common practice. Should we  discourage  it?
  806.    Don't know, many loops have been avoided this way..... Should we just
  807.    document it as a not recommended possibility? ****
  808.  
  809.  AV2.2
  810.    
  811.    DISCUSSION: In the Internet, non-delievry messages are recognised  by
  812.    the fact that teh MAIL FROM: has an empty address.
  813.    
  814.    RULE:  #RFC#  Repliers generate an exception output  message  if  the
  815.    input message has an empty MAIL FROM: address.
  816.  
  817.  AV3
  818.    
  819.    RULE: The following attribute of the output message has the value:
  820.      
  821.      #84#P2#        inReplyTo : IPMessageID of input message
  822.      #88#P2#        replied-to-IPM : this-IPM of input message
  823.      #822#          In-Reply-To: : Message-ID of input message
  824.  
  825.  
  826. Houttuin            Expires    March 1994                      [Page 14]
  827.  
  828. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  829.  
  830.  
  831.  
  832.  AV4
  833.    
  834.    RULE: The following attributes are optional in an output message.  If
  835.    used, they contain the value:
  836.      
  837.      #84#P2#        crossReferences : IPMessageID of input message
  838.      #88#P2#        related-IPMs : this-IPM of input message
  839.      #822#          References: : Message-ID of input message
  840.  
  841.  AV5
  842.    
  843.    RULE:  #P2#  The  P1.originator of the output  message  contains  the
  844.    address of the MBS administrator.
  845.    
  846.    DISCUSSION: Note that this affects a P1 attribute, but only when  the
  847.    output  message is P2. For instance, consider a P1 distribution  list
  848.    that  distributes another content type than P2, say Pc. Since Pc  may
  849.    be  completely unstructured, changing the P1.originator would make it
  850.    impossible to reply to the originator of the input message.  Changing
  851.    the P1.originator will also make sense for content types that have P2
  852.    like header fields, e.g. for P35 messages.
  853.    
  854.    RULE:  #821#  The MAIL FROM: line of the output message contains  the
  855.    address of the MBS administrator.
  856.  
  857.  AV6
  858.    
  859.    RULE:  #P2#  The  P2.originator of the output  message  contains  the
  860.    address of the MBS administrator.
  861.    
  862.    RULE:  #822#  The  From:  field of the output  message  contains  the
  863.    address of the MBS administrator.
  864.  
  865.  AV7
  866.    
  867.    RULE: #84#P1#P3#  Every PerRececipientFlag in the output message  has
  868.    the following bits set:
  869.      
  870.      Report Request:            01
  871.      User Report Request:       00
  872.    
  873.    i.e. the Non-delivery Notification service will be prevented.
  874.  
  875.  AV8
  876.    
  877.    RULE: The following argument is empty in the output message:
  878.      
  879.      #84#P2#        Recipient.reportRequest
  880.      #88#P2#        NotificationRequests
  881.  
  882.  
  883.  
  884.  
  885. Houttuin            Expires    March 1994                      [Page 15]
  886.  
  887. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  888.  
  889.  
  890.  AV9
  891.    
  892.    RULE: The following attribute of the output message has as value  the
  893.    string 'Re: ', concatenated with the subject of the input message.
  894.      
  895.      #822#          Subject:
  896.      #P2#           subject
  897.  
  898.  AV10
  899.    
  900.    RULE: The following attribute of the output message has as value  the
  901.    subject of the input message, concatenated with the string '(for)'.
  902.      
  903.      #822#          Subject:
  904.      #P2#           subject
  905.  
  906.  AV11
  907.    
  908.    RULE: #P1#P3# The P1.recipient of a (non-)DM equals the P1.originator
  909.    of the input message.
  910.    
  911.    RULE: #821# The RCPT TO: field of a (non-)DM equals the MAIL FROM: of
  912.    the input message.
  913.  
  914.  AV12
  915.    
  916.    RULE: #P2# The P2.recipient of a (non-)DM equals the P1.originator of
  917.    the input message.
  918.    
  919.    RULE: #822# The To: field of a (non-)DM equals the originator of  the
  920.    input message.
  921.  
  922.  AV13
  923.    
  924.    RULE:  #P1#  All  P1.ExtensionIdentifiers in an  output  message  are
  925.    distinct.
  926.  
  927.  AV14
  928.    
  929.    RULE:  #P2# The output message(s) have the P2.autoForwarded flag  set
  930.    to true.
  931.  
  932.  
  933. 7.3. Attribute/header conservation (AC)
  934.    
  935.    DISCUSSION: Thre are a number of attributes, set by the originator of
  936.    the input message, that should also be set in the output message. For
  937.    instance,  a user will expect a high priority request to  be  handled
  938.    with  high priority. The output message should in this case  also  be
  939.    sent  with  the  same  priority. Note that an MBS  may,  as  a  local
  940.    decission,  choose to spool all requests in order to spread  the  MBS
  941.    load. As long as the local processing of high priority request can be
  942.  
  943.  
  944. Houttuin            Expires    March 1994                      [Page 16]
  945.  
  946. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  947.  
  948.  
  949.    guaranteed  to  be  no slower than that of normal requests,  and  the
  950.    following  rules  for the output messages are followed,  these  local
  951.    processing delays will be transparent for the MBS users.
  952.    
  953.    RULE:  The  following attributes have the same value  in  the  output
  954.    message as in the input message
  955.  
  956.  AC1
  957.    
  958.    In  order  to propagate the originator's request for privacy  to  the
  959.    output message(s):
  960.      
  961.      #822#          Sensitivity:
  962.      #P2#           P2.sensitivity
  963.  
  964.  AC2
  965.      
  966.      #822#          Importance:
  967.      #P2#           Importance
  968.  
  969.  AC3
  970.      
  971.      #822#          Priority:
  972.      #P1#P3#        Priority
  973.  
  974.  AC4
  975.      
  976.      #84#P1#P3#     ContentType
  977.  
  978.  AC5
  979.      
  980.      #P1#P3#        contents
  981.  
  982.  
  983. 7.4. Addresses (AD)
  984.    
  985.    Please  note  that  all recommendations for names  of  MBSs  and  MBS
  986.    administrators concern internationally used MBSs. Local MBSs can  use
  987.    similar mechanisms in their local language.
  988.  
  989.  AD1
  990.    
  991.    RULE: The address of the MBS administrator is the same as that of the
  992.    MBS, except for the
  993.      
  994.      #RFC# localpart
  995.      #400# Personal Name
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003. Houttuin            Expires    March 1994                      [Page 17]
  1004.  
  1005. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  1006.  
  1007.  
  1008.  AD2
  1009.    
  1010.    RULE: The MBS administrator of a mailer demon has an address with the
  1011.    following local address designation:
  1012.      
  1013.      #RFC# localpart=postmaster
  1014.  
  1015.  AD3
  1016.    
  1017.    RULE:  The  following attribute of the echo server  address  has  the
  1018.    value "echo".
  1019.      
  1020.      #RFC# localpart
  1021.      #400# Surname
  1022.  
  1023.  AD4
  1024.    
  1025.    RULE: The following attribute in the address of the administrator  of
  1026.    a  dedicated  replier  is  that  of the  replier,  concatenated  with
  1027.    "-reply".
  1028.      
  1029.      #RFC# localpart
  1030.      #400# Surname
  1031.  
  1032.  AD5
  1033.    
  1034.    RULE:  A  message  addressed to an address with the  following  local
  1035.    address designation results in an NRN or a non-DM being generated.
  1036.      
  1037.      #RFC#          localpart = nosuchuser
  1038.      #84#           Surname=nosuchuser
  1039.      #88#           Surname=nosuchuser
  1040.      #88#           CN=nosuchuser
  1041.  
  1042.  AD6
  1043.    
  1044.    RULE: The following attribute in the address of the administrator  of
  1045.    a  dedicated  replier  is  that  of the  replier,  concatenated  with
  1046.    "-request".
  1047.      
  1048.      #RFC#          localpart
  1049.      #400#          Surname
  1050.  
  1051.  
  1052. 7.5. Body (B)
  1053.  
  1054.  B1
  1055.    
  1056.    RULE: The input message (all headers and an optionally truncated part
  1057.    of  the  body)  is  included in the output message  in  an  end  user
  1058.    readable   format,  preferably  as  a  MIME  message  body-part,   an
  1059.    IPMS.ForwardedIPMessage bodypart, or in plain ASCII text.
  1060.  
  1061.  
  1062. Houttuin            Expires    March 1994                      [Page 18]
  1063.  
  1064. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  1065.  
  1066.  
  1067.  
  1068.  B2
  1069.    
  1070.    RULE: Additional information is included in separate bodyparts of the
  1071.    output message.
  1072.  
  1073.  B3
  1074.    
  1075.    RULE:  Commands are only specified in the body of the input  message.
  1076.    Especially, a command server ignores the Subject field of  the  input
  1077.    message.
  1078.  
  1079.  B4
  1080.    
  1081.    RULE:  The recipient of the output message can be uniquely identified
  1082.    from  the heading of the input message. That is, alternate recipients
  1083.    are  not  negotiated in the body of the input message.  This  ensures
  1084.    that  the recipients can still be uniquely identified after the input
  1085.    message has traversed a protocol gateway.
  1086.  
  1087.  B5
  1088.    
  1089.    RULE:  The  output message body consists only of the  complete  input
  1090.    message,    encoded   as   a   MIME   message    bodypart    or    an
  1091.    IPMS.ForwardedIPMessage bodypart.
  1092.  
  1093.  
  1094. 7.6. Exceptions (E)
  1095.  
  1096.  E1
  1097.    
  1098.    RULE: In case of an MBS Submit Permission violation
  1099.    
  1100.    #822#P2#  a  non  delivery message is sent to the originator  of  the
  1101.    input message. The non delivery message has the following text in the
  1102.    message body:
  1103.      
  1104.      "Originator not allowed to send to this address"
  1105.    
  1106.    #84#P1# a P1.DeliveryReportMPDU will be sent to the P1.originator  of
  1107.    the  input message. The P1.DeliveryReportMPDU will have the following
  1108.    values:
  1109.      
  1110.      ReasonCode:    unableToTransfer(1)
  1111.      DiagnosticCode:uaUnavailable(4)
  1112.      SupplementaryInformation:
  1113.                     "Originator not allowed to send to this address"
  1114.  
  1115.  E2
  1116.    
  1117.    RULE:  Only  the types of input messages listed below  are  valid  as
  1118.    input  messages.  Any other type of input message  (reports,  receipt
  1119.  
  1120.  
  1121. Houttuin            Expires    March 1994                      [Page 19]
  1122.  
  1123. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  1124.  
  1125.  
  1126.    notifications)  leads  to  the  generation  of  an  exception  output
  1127.    message.
  1128.      
  1129.      #84#P1# UserMPDU
  1130.      #84#P2# IM-UAPDU
  1131.      #88#P1# Message
  1132.      #88#P2# IPM
  1133.      #822# No restrictions
  1134.    
  1135.    #400#  P1.Probes are expected to be handled by the MTS and  are  thus
  1136.    not interpreted by the MBS.
  1137.  
  1138.  
  1139. 7.7. Logging (L)
  1140.  
  1141.  L1
  1142.    
  1143.    RULE:  The  MBS  logs  the originator of the input  message  and  all
  1144.    recipient(s) of the output/exception message(s).
  1145.    
  1146.    DISCUSSION: This allows the MBS administrator to track down malicious
  1147.    behaviour.
  1148.  
  1149.  L2
  1150.    
  1151.    RULE:  The  MBS logs the message ID of every input message and  every
  1152.    output message. It generates an exception message if the same message
  1153.    ID is encountered in the input message more than once.
  1154.    
  1155.    DISCUSSION:  This will prevent all routing and MTS-redirection  loops
  1156.    amongst  MBSs. UA level MBSs, which create a new output  message  for
  1157.    each  input message, will at least be safeguarded against mail storms
  1158.    from other MTS based MBSs.
  1159.    
  1160.    ORIGIN:  This document. Similar techniques are already being used  in
  1161.    Netnews.
  1162.    
  1163.    AFFECTED: All MBSs.
  1164.    
  1165.    Any further logging is optional.
  1166.  
  1167.  
  1168. 7.8. Implementation options (I)
  1169.  
  1170.  I1
  1171.    
  1172.    RULE:  MBS Submit Permission implementation is 'implicit'. This means
  1173.    that  MBSs  that  have not explicitly implemented this  function  can
  1174.    still claim to be implicitly open to anyone.
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180. Houttuin            Expires    March 1994                      [Page 20]
  1181.  
  1182. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  1183.  
  1184.  
  1185.  I2
  1186.    
  1187.    RULE: Auto-repliers at least log the originator of the input message.
  1188.    During  the  lifetime of an auto-replier, at most one output  message
  1189.    per input message originator is generated.
  1190.  
  1191.  I3
  1192.    
  1193.    RULE:  #P2# Even if a DL is used for distribution of P2 messages,  we
  1194.    still recommend to implement it at MTS level. This has some important
  1195.    advantages over P3/P2 based implementations (see also [SHK 92]):
  1196.      
  1197.      - Using P3 would result in loosing P1.TraceInformation
  1198.      - Better  alignment with X.400(88), which also defines  DLs  within
  1199.        the MTS
  1200.      - An  MTS  DL distributes P1.UMPDUContent transparently,  and  will
  1201.        thus implicitly implement one of the requirements for DLs.
  1202.  
  1203.  
  1204. 8. Summary table
  1205.  
  1206.    
  1207.    
  1208.            auto-  comm. mail.  echo   auto- dist.  affected
  1209.            answ.  serv. demon  serv.  forw. list
  1210.     AR1.1  +      +     +      +      .     .      P2
  1211.     AR1.2  +      +     +      +      .     .      822 P2
  1212.     AR1.3  +      +     +      +      .     .      822 P2
  1213.     AR1.4  +      +     +      +      .     .      88.P1 88.P3
  1214.     AR1.5  +      d     +      d      d     .      822 P2
  1215.     AR2    +      +     +      +      +     .      all
  1216.     AR3    o      +     -      +      n/a   n/a    822 P2
  1217.     AR4    o      +     -      +      n/a   n/a    822 P2
  1218.     AR5    o      +     .      +      n/a   n/a    822 P2
  1219.     AV1    o      +     -      +      .     .      822 P2
  1220.     AV2    s      +     +      +      .     .      all
  1221.     AV3    +      +     +      +      n/a   n/a    822 P2
  1222.     AV4    +      +     +      +      n/a   n/a    822 P2
  1223.     AV5    o      +     +      +      .     .      821 P1 P3
  1224.     AV6    o      +     +      +      .     .      822 P2
  1225.     AV7    +      +     +      +      .     .      P1 P3
  1226.     AV8    +      +     +      +      .     .      P2
  1227.     AV9    s      s     o      +      -     -      822 P2
  1228.     AV10   -      -     -      -      s     -      822 P2
  1229.     AV11   .      .     +      .      n/a   n/a    821 P1 P3
  1230.     AV12   .      .     +      .      n/a   n/a    822 P2
  1231.     AV13   +      +     +      +      +     +      P1
  1232.     AV14   -      -     -      -      +     -      822 P2
  1233.     AC1    +      +     +      +      +     +      822 P2
  1234.     AC2    +      +     +      +      +     +      822 P2
  1235.     AC3    +      +     +      +      +     +      822 P1 P3
  1236.     AC4    .      .     .      s      +     +      P1 P3
  1237.  
  1238.  
  1239. Houttuin            Expires    March 1994                      [Page 21]
  1240.  
  1241. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  1242.  
  1243.  
  1244.     AC5    -      -     -      -      -     +      P1 P3
  1245.     AD1    +      +     +      +      +     +      all
  1246.     AD2    o      -     +      -      o     -      all
  1247.     AD3    n/a    n/a   n/a    +      n/a   n/a    all
  1248.     AD4    n/a    s     n/a    s      n/a   n/a    all
  1249.     AD5    n/a    n/a   +      n/a    n/a   n/a    all
  1250.     AD6    n/a    n/a   n/a    n/a    n/a   s      all
  1251.     B1     -      o     s      +      -     -      822 P2
  1252.     B2     o      o     o      o      -     o      822 P2
  1253.     B3     n/a    +     n/a    n/a    n/a   n/a    822 P2
  1254.     B4     n/a    +     n/a    n/a    n/a   n/a    822 P2
  1255.     B5     -      -     -      -      +     -      822 P2
  1256.     E1     +      +     +      +      +     +      822 P2
  1257.     E2     +      +     +      +      +     +      all
  1258.     L1     o      +     +      +      o     o      all
  1259.     L2     +      +     +      +      +     +      all
  1260.     I1     n/a    s     n/a    s      n/a   s      all
  1261.     I2     s      n/a   n/a    n/a    n/a   n/a    all
  1262.     I3     n/a    n/a   n/a    n/a    n/a   s      n/a
  1263.                     Table 1. Table of recommendations
  1264.                                        
  1265.                                        Key to symbols in table 1:
  1266.                                        +     Recommended
  1267.                                        s      Suggested
  1268.                                        o     Optional
  1269.                                        d     Don't care
  1270.                                        n/a   Not applicable
  1271.                                        .     Depends on other factors
  1272.                                        -     Not recommended
  1273.  
  1274.  
  1275. 8. Reference implementations
  1276.  
  1277.    
  1278.    There  are  a number of MBS implementations that follow most  of  the
  1279.    recommendations listed in this document. They include:
  1280.      
  1281.      Echoput        (echo server)
  1282.      Concord        (echo server, DLs)
  1283.      AUSSIE         (echo server)
  1284.      Squirrel       (command server)
  1285.      EAN            (DLs, auto-forwarding, auto-answer, echo)
  1286.      PP             (DLs, auto-answer, echo)
  1287.    
  1288.    Developers  of other MBS software (mailbase, explode) have  indicated
  1289.    they will also implement the requirements in future versions.
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298. Houttuin            Expires    March 1994                      [Page 22]
  1299.  
  1300. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  1301.  
  1302.  
  1303. 9. Further work
  1304.  
  1305.    
  1306.    An  idea  would  be  to  write a modular MBS  system,  which  can  be
  1307.    cofigured  as  an  echo server, distribution list,  etc.  A  protocol
  1308.    conversion  module  can  be used to allow  the  MBS  to  plug  in  to
  1309.    different implemenations and protocols.
  1310.  
  1311.  
  1312. 10. Acknowledgements
  1313.  
  1314.    
  1315.    Within  the  context  of  the connectivity  testing  tool  'concord',
  1316.    initial  work  on the requirements for echo servers and  distribution
  1317.    lists was done within COSINE MHS and XNREN ([Concord], [Concreqs]).
  1318.    
  1319.    The  document  was  then  integrated in the work  of  the  IETF  Mail
  1320.    Applicability  Design  Team, consisting  of:  Ned  Freed  (INNOsoft),
  1321.    Jeroen  Houttuin  (RARE),  John Klensin (INfoods,  UN),  Keith  Moore
  1322.    (University of Tennessee).
  1323.    
  1324.    Thanks for ideas, comments, flames and corrections: Harald Alvestrand
  1325.    (SINTEF),  Allan  Cargille  (XNREN), Urs Eppenberger  (SWITCH),  Paul
  1326.    Klarenberg (NetConsult AG), Ignacio Martinez (redIRIS), Juan Pizzorno
  1327.    (DFN),  Eric Thomas (SUNET), Johan Vromans (Multihouse), Jan van  der
  1328.    Weele (Du Pont).
  1329.  
  1330.  
  1331. 11. Bibliography
  1332.  
  1333.       
  1334.       821         Jonathan  B. Postel, "Simple Mail Transfer Protocol",
  1335.                   RFC  821,  University of Southern California,   Sept.
  1336.                   1982
  1337.       
  1338.       822         Crocker, D., "Standard of the Format of ARPA Internet
  1339.                   Text Messages", RFC 822, UDEL,  Sept. 1982.
  1340.       
  1341.       1123        R. Braden, Editor, "Requirements for Internet Hosts -
  1342.                   - Application and Support", RFC 1123, USC/Information
  1343.                   Sciences Institute, October 1989.
  1344.       
  1345.       1211        Westine,   A.  &  Postel,  J.,  "Problems  with   the
  1346.                   Maintenance of Large Mailing Lists", RFC 1211,  March
  1347.                   1991.
  1348.       
  1349.       1327        Kille,  S., "Mapping between X.400(1988) / ISO  10021
  1350.                   and RFC 822", RFC 1327, UCL, May 1992.
  1351.       
  1352.       1328        Kille,  S.,  "X.400  1988 to 1984  downgrading",  RFC
  1353.                   1328, UCL, May 1992
  1354.       
  1355.  
  1356.  
  1357. Houttuin            Expires    March 1994                      [Page 23]
  1358.  
  1359. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  1360.  
  1361.  
  1362.       1341        N.  Borenstein, N. Freed, MIME (Multipurpose Internet
  1363.                   Mail Extensions), RFC 1341, June 1992
  1364.       
  1365.       Concord     J.   Houttuin,  "Concord  functional  specification",
  1366.                   COSINE      MHS     server,     Mail:     cosine-mhs-
  1367.                   server@nic.switch.ch,  FTP: nic.switch.ch,  Username:
  1368.                   cosine , File: tools/operational/concord/xxxxxxxx
  1369.       
  1370.       Concreqs    J.   Houttuin,  Allan  Cargille,  "Requirements   for
  1371.                   concord echo servers and distribution lists",  COSINE
  1372.                   MHS  server,  Mail:  cosine-mhs-server@nic.switch.ch,
  1373.                   FTP:    nic.switch.ch,   Username:   cosine,    File:
  1374.                   procedures/echo-server-reqs
  1375.       
  1376.       Noreply     "list  of  surnames/usernames  not  to  automatically
  1377.                   reply  to",  RARE server, Mail: server@rare.nl,  FTP:
  1378.                   ftp.rare.nl,                                    File:
  1379.                   working-groups/wg-msg/div/dontreply
  1380.       
  1381.       X.4xx(84)   CCITT    Recommendations   X.400   -   X.430.    Data
  1382.                   Communication  Networks:  Message  Handling  Systems.
  1383.                   CCITT  Red  Book,  Vol. VIII - Fasc. VIII.7,  Malaga-
  1384.                   Torremolinos 1984
  1385.       
  1386.       X.4xx(88)   CCITT    Recommendations   X.400   -   X.420.    Data
  1387.                   Communication  Networks:  Message  Handling  Systems.
  1388.                   CCITT  Blue Book, Vol. VIII - Fasc. VIII.7, Melbourne
  1389.                   1988
  1390.       
  1391.       SK92        Kille,  S.,  "MHS  use  of the Directory  to  support
  1392.                   distribution lists", Internet-Draft draft-ietf-mhsds-
  1393.                   mhsuse-02.txt, November 1992
  1394.  
  1395.  
  1396. 12. Abbreviations
  1397.  
  1398.       ASCII    American Standard Code for Information Exchange
  1399.       CCITT    Comite  Consultatif  International de  Telegraphique  et
  1400.                Telephonique
  1401.       COSINE   Co-operation for OSI networking in Europe
  1402.       DL       Distribution List
  1403.       DM       Delivery Message
  1404.       EAN      MHS software (not an abbreviation)
  1405.       IPM      Inter-Personal Message
  1406.       IPN      Inter-Personal Notification
  1407.       ISO      International Organisation for Standardisation
  1408.       MHS      Message Handling System
  1409.       MBS      Mail based server
  1410.       MOTIS    Message-Oriented Text Interchange Systems
  1411.       MTA      Message Transfer Agent
  1412.       MTL      Message Transfer Layer
  1413.       MTS      Message Transfer System
  1414.  
  1415.  
  1416. Houttuin            Expires    March 1994                      [Page 24]
  1417.  
  1418. INTERNET-DRAFT   Header Behaviour Of Mail Based Servers      Sept. 1993
  1419.  
  1420.  
  1421.       NJE      Network Job Entry
  1422.       NRN      Non-Receipt Notification
  1423.       PP       MHS software (not an abbreviation)
  1424.       RARE     Reseaux Associes pour la Recherche Europeenne
  1425.       RN       Receipt Notification
  1426.       SMTP     simple mail transfer protocol
  1427.       UA       User Agent
  1428.  
  1429.  
  1430. 13. Author's Address
  1431.  
  1432.    
  1433.    Jeroen Houttuin
  1434.    
  1435.    RARE Secretariat
  1436.    Singel 466-468
  1437.    NL-1017 AW  Amsterdam
  1438.    Europe
  1439.    
  1440.    Tel +31 20 6391131
  1441.    Fax +31 20 6393289
  1442.    
  1443.    houttuin@rare.nl
  1444.    /S=houttuin/O=rare/PRMD=surf/ADMD=400net/C=nl/
  1445.    
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475. Houttuin            Expires    March 1994                      [Page 25]
  1476.